﻿using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using BLL;

namespace WebApplication1
{
    public partial class SanPhanBanChay : System.Web.UI.UserControl
    {
        List<BLLSanPham> sp = new List<BLLSanPham>();
        protected void Page_Load(object sender, EventArgs e)
        {

            sp = BLLSanPham.GetAll();
            DataList1.DataSource = sp;
            DataList1.DataBind();
        }
    }
}